package com.gitee.jjnnzb.designpatterninspring.business.openapi.entity.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

/**
 * @author Jjn
 * @since 2023/8/10 19:36
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class VideoParam extends FileParam {
    
    @Length(max = 100, message = "封面图不能超过{max}字符")
    @Schema(description = "封面图")
    private String coverImage;
    
}
